<template>
  <!-- 轮播会议培训详情页 -->
  <div id="swiperMeetingdetail" class="swiperMeetingdetail">
    <Header></Header>
    <!--本来应该是导航，（方便全局替换）-->
    <!-- <HHeader></HHeader> -->
    <div class="swiperMeetingdetailCont">
      <div class="swiperMeetingdetailCont_crumbs">
        <span>
          <router-link :to="{name:'home'}">首页</router-link>
        </span>
        <i class="iconfont icon-youjiantou"></i>
        <span>
          <router-link :to="{name:'meeting'}">会议培训</router-link>
        </span>
        <i class="iconfont icon-youjiantou"></i>
        <span>正文</span>
      </div>
      <div class="swiperMeetingdetailCont_cluster">
        <div class="swiperMeetingdetailCont_cluster_Left">
          <div class="just_cluster_left_title">
            <span>{{swiperMeetingdetailB.title}}</span>
            <div style="clear:both;"></div>
          </div>
          <div class="just_cluster_left_info">
            <span>授课专家：{{swiperMeetingdetailB.expertName}}</span>
            <span>{{swiperMeetingdetailB.organization}}</span>
            <span>{{swiperMeetingdetailB.CreatedTime}}</span>
            <!-- <span>截止日期：{{this.$route.query.EndTime.substr(0,10)}}</span> -->
          </div>
          <div class="just_cluster_left_cont">
            <p v-html="swiperMeetingdetailB.content"></p>
          </div>
        </div>
        <div class="swiperMeetingdetailCont_cluster_Right">
          <JusTinTime></JusTinTime>
          <div class="just_cluster_righ_img">
            <img src="../../../../static/syimg/xxg_10.png" />
          </div>
        </div>
        <div style="clear:both"></div>
      </div>
    </div>
    
    
    
  </div>
</template>

<script>
// import router from "@/router/index";
//juqery
import axios from "axios";

export default {
  name: "swiperMeetingdetail",
  data() {
    return {
      Lmurl: "http://appjk.yywkt.com/xshyContent",
      swiperMeetingdetail: {
        title: "我国成功研制先进的高速高精度激光汤姆逊散射仪",
        date: "2019-12-5",
        issuer: "xxx杂志",
        read: "293"
      },
      swiperMeetingdetailB: []
    };
  },
  methods: {
    getData() {
      axios
        .post(
          "http://bjlm.bosihw.cn/api/Lm/GetMeetingtrain?Id=" +
            this.$route.query.id
        )
        .then(res => {
          this.swiperMeetingdetailB = res.data.Data;
          this.swiperMeetingdetailB.CreatedTime = this.swiperMeetingdetailB.CreatedTime.substr(
            0,
            10
          );
        })
        .catch(err => {
          console.log("请求失败：" + "err");
        });
    }
  },
  created() {
    this.getData();
  }
};
</script>

<style lang="less" scoped>
#swiperMeetingdetail {
  width: 100%;
  .swiperMeetingdetailCont {
    width: 100%;
    height: 100%;
    display: inline-block;
    .swiperMeetingdetailCont_crumbs {
      width: 1140px;
      height: 20px;
      margin: 0 auto;
      position: relative;
      margin-top: 28px;
      text-align: left;
      line-height: 20px;
      padding-left: 10px;
      span:nth-child(1) a,
      span:nth-child(3) a {
        color: #000000;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
      }
      i {
        color: #767c82;
        font-size: 18px;
        margin-left: 10px;
        font-weight: bold;
      }
      span:nth-child(5) {
        color: #003c80;
        font-size: 16px;
        margin-left: 10px;
        font-weight: bold;
        cursor: pointer;
      }
    }
    .swiperMeetingdetailCont_cluster {
      width: 1140px;
      height: 100%;
      margin: 0 auto;
      margin-top: 28px;
      .swiperMeetingdetailCont_cluster_Left {
        width: 856px;
        height: auto;
        position: relative;
        float: left;
        .just_cluster_left_title {
          width: 100%;
          height: 20px;
          line-height: 20px;
          span:nth-child(1) {
            float: left;
            font-size: 20px;
            color: #000;
            font-weight: bold;
            em {
              font-style: normal;
              float: right;
              color: #909090;
              font-size: 16px;
              position: absolute;
              right: 0;
            }
          }
          span:nth-child(2) {
            float: right;
            color: #909090;
            font-size: 16px;
          }
        }
        .just_cluster_left_info {
          margin-top: 18px;
          width: 100%;
          height: 18px;
          line-height: 18px;
          span {
            color: #909090;
            font-size: 16px;
          }
          span:nth-child(2) {
            margin-left: 41px;
            margin-right: 41px;
          }
        }
        .just_cluster_left_cont {
          padding-top: 15px;
          overflow: hidden;
          overflow-y: auto;
          width: 100%;
          margin-top: 21px;
          border-top: 1px solid #eeeeee;
          p {
            font-size: 16px;
            font-family: SourceHanSansSC-Regular;
            font-weight: 400;
            color: #777;
            line-height: 26px;
            margin-bottom: 20px;
            text-indent: 2em;
            text-align: justify;
            // /deep/p{
            //   line-height: 32px!important;
            //   letter-spacing: 1px!important;
            //   color:#777!important;
            //   font-size:16px!important;
            //   font-family:SourceHanSansSC-Regular;
            //   font-weight:400!important;
            //   text-align:justify!important;
            // }
          }
        }
      }
      .swiperMeetingdetailCont_cluster_Right {
        width: 265px;
        float: right;
        border-left: 1px solid #eeeeee;
        position: relative;
        .just_cluster_righ_img {
          margin-left: 19px;
          margin-top: 28px;
          width: 250px;
          height: 163px;
          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}
@media screen and (min-width: 1010px) {
  .mocreate {
    display: none;
  }
}
@media screen and (max-width: 1010px) {
  .swiperMeetingdetailCont_cluster_Right {
    display: none;
  }
  .webcreate {
    display: none;
  }
  .swiperMeetingdetailCont_crumbs {
    display: none;
  }
  .swiperMeetingdetailCont {
    margin-top: 70px;
  }
  #swiperMeetingdetail
    .swiperMeetingdetailCont
    .swiperMeetingdetailCont_cluster {
    width: 94%;
    margin-top: 20px;
  }
  #swiperMeetingdetail
    .swiperMeetingdetailCont
    .swiperMeetingdetailCont_cluster
    .swiperMeetingdetailCont_cluster_Left {
    width: 100%;
    .just_cluster_left_title {
      height: 100%;
      line-height: 30px;
      text-align: justify;
    }
    .just_cluster_left_info {
      line-height: 26px;
      height: auto !important;
      span:nth-child(2) {
        margin-left: 32px;
      }
      span:nth-child(3) {
        margin-left: 32px;
      }
    }
    .just_cluster_left_cont {
      margin-top: 15px;
      padding-top: 10px;
    }
  }
}
</style>
